<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	</head>
	<script type="text/javascript">
		$(function(){
			$('.psd').blur(function(){
				var texts = $(this).val();
				$.ajax({
					type:"post",
					url:"./index.php?m=Admin&c=Login&a=ajax_o",
					data:{new_pas:texts},
					success:function(phpDate){
						if(phpDate==1){
							messing='<span id="exampleInputEmail1" class="form-control qq" >原密码错误</span>';
							$(".bb").append(messing);
							$('.psd').val('');
						}else{
							$('.qq').remove();
						}
					}
				});
			})
		})
	</script>
	<body>
		
		<form action="" method="post" id="cp">
			<div class="alert alert-success">修改头像</div>
			<div class="form-group">
				<input id="" type="radio" name="oldImg" checked="checked" value="icon.png">
				<img src="./Public/Admin/Flat/img/login/icon.png" style="width: 30px;height:30px;display: inline-block;"/>
				<input id="" type="radio" name="oldImg" value="imac.png">
				<img src="./Public/Admin/Flat/img/login/imac.png" style="width: 30px;height:30px;display: inline-block;"/>
				<input id="" type="radio" name="oldImg" value="Chat.png">
				<img src="./Public/Admin/Flat/img/icons/png/Chat.png" style="width: 30px;height:30px;display: inline-block;"/>
			</div>
			<div class="alert alert-success">修改密码</div>
			<div class="form-group bb">
				<label for="exampleInputEmail1">原密码</label>
				<input id="exampleInputEmail1" class="form-control psd" type="password" placeholder="" required="" name="oldPassword">
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">新密码</label>
				<input id="exampleInputEmail1" class="form-control" type="password" placeholder="" required="" name="newPassword">
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">确认密码</label>
				<input id="exampleInputEmail1" class="form-control" type="password" placeholder="" required="" name="confirmPassword">
			</div>
			<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>
